
package financeapi;

public class CashPayment extends PaymentType{
	private double totalCash;

	public CashPayment(double totalCash)
	{
		this.totalCash = totalCash;
		type = "Cash";
		needsAuthorization=false;
	}

	public double getTotalCash() {
		return totalCash;
	}

	public void setTotalCash(double totalCash) {
		this.totalCash = totalCash;
	}
}
